package com.ytclub.subject.domain.convert;

import com.ytclub.subject.domain.entity.SubjectAnswerBO;
import com.ytclub.subject.domain.entity.SubjectInfoBO;
import com.ytclub.subject.infra.basic.entity.SubjectBrief;
import com.ytclub.subject.infra.basic.entity.SubjectJudge;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 单选题转换拦截器
 *
 * @author: HuangQi
 * @date: Created in 21:23 2023/12/14
 * @description: 拦截器
 */
@Mapper
public interface BriefSubjectConverter {
    BriefSubjectConverter INSTANCE = Mappers.getMapper(BriefSubjectConverter.class);

    SubjectBrief convertBoToEntity(SubjectInfoBO subjectAnswerBO);


    List<SubjectAnswerBO> convertEntityToBoList(List<SubjectBrief> result);
}
